#define _CRT_SECURE_NO_WARNINGS 1
#include"SList.h"

void test()
{
	//SLTNode* re =  create_node(15);
	SLTNode* plist = nullptr;

	for (int i = 1; i < 2; i++)
	{
		SLTPushBack(plist, i);
		//SLTPushFront(plist, i);
	}
	SLTPrint(plist);

	//SLTNode* re = find_node(plist, 5);

	//SLTInsert(plist, re, 255);
	//SLTInsertAfter(re, 255);

	//for (int i = 0; i < 1; i++)
	//{
	//	//SLTPopBack(plist);
	//	//SLTPopFront(plist);
	//}
	//SLTErase(plist, re);
	//SLTEraseAfter(re);
	//SLTDestroy(plist);
	SLTPopBack(plist);
	SLTPrint(plist);
}

int main()
{
	test();
	return 0;
}

